/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.pennychecker.swing.presenter.ext.event;

import com.pennychecker.swing.mvp.event.MvpEvent;
import com.pennychecker.swing.mvp.event.MvpEvent.Type;

/**
 *
 * @author sk
 */
public class MoveEvent extends MvpEvent<MoveHandler>{

    public static final Type<MoveHandler> TYPE = new Type<MoveHandler>();

    @Override
    public Type<MoveHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(MoveHandler h) {
        h.onMove(this);
    }

}
